package com.hhit.brpc.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.baidu.brpc.interceptor.Interceptor;
import com.hhit.brpc.server.CustomInterceptor;

@Configuration
public class BrpcConfigs {
	@Bean
    public Interceptor customInterceptor() {
        return new CustomInterceptor();
    }
}
